﻿using System;

namespace Model
{
    /// <summary>
    /// 类别明细表
    /// </summary>
    public class Yx_Detail
    {
        private decimal detail_id;

        /// <summary>
        /// 明细编号
        /// </summary>
        public decimal Detail_Id
        {
            get { return detail_id; }
            set { detail_id = value; }
        }

        private decimal company_id;

        /// <summary>
        /// 公司编号
        /// </summary>
        public decimal Company_Id
        {
            get { return company_id; }
            set { company_id = value; }
        }

        private decimal n_total;

        /// <summary>
        /// 录入金额
        /// </summary>
        public decimal N_Total
        {
            get { return n_total; }
            set { n_total = value; }
        }

        private string accountno;

        /// <summary>
        /// 公司账号
        /// </summary>
        public string Accountno
        {
            get { return accountno; }
            set { accountno = value; }
        }

        private decimal accounttype;

        /// <summary>
        /// 账户类型（1.支出户。2.收入户）
        /// </summary>
        public decimal Accounttype
        {
            get { return accounttype; }
            set { accounttype = value; }
        }

        private string openbank;

        /// <summary>
        /// 开户银行
        /// </summary>
        public string Openbank
        {
            get { return openbank; }
            set { openbank = value; }
        }

        private decimal type;

        /// <summary>
        /// 类别（1.周资金；2.月资金；3.周长期；4.紧急资金）
        /// </summary>
        public decimal Type
        {
            get { return type; }
            set { type = value; }
        }

        private decimal operatorid;

        /// <summary>
        /// 录入人
        /// </summary>
        public decimal OperatorId
        {
            get { return operatorid; }
            set { operatorid = value; }
        }

        private DateTime operatordate;

        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime OperatorDate
        {
            get { return operatordate; }
            set { operatordate = value; }
        }

        private string kemuid;

        /// <summary>
        /// 科目名称
        /// </summary>
        public string Kemuid
        {
            get { return kemuid; }
            set { kemuid = value; }
        }

        private string n_month;

        /// <summary>
        /// 数据月份
        /// </summary>
        public string N_Month
        {
            get { return n_month; }
            set { n_month = value; }
        }

        private string weeknum;

        /// <summary>
        /// 周数（对周资金和周长期）
        /// </summary>
        public string WeekNum
        {
            get { return weeknum; }
            set { weeknum = value; }
        }

        private decimal foreign_id;

        /// <summary>
        /// 周资金；月资金；周长期；紧急资金（外键）
        /// </summary>
        public decimal Foreign_Id
        {
            get { return foreign_id; }
            set { foreign_id = value; }
        }
    }
}